package com.javatian.dao;

import com.javatian.entity.NoticeInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 公告信息Dao
 */
@Repository
public interface NoticeInfoDao extends Mapper<NoticeInfo> {

    List<NoticeInfo> findByName(@Param("name")String name);
}
